package user.fragment;

import java.util.ArrayList;
import java.util.List;

class GoodsDetail {
    private int goodsId;
    private String goodsName;
    private String goodsIntro;
    private String goodsCoverImg;
    private double originalPrice;
    private double sellingPrice;
    private String tag;
    private String goodsDetailContent;
    private List<String> goodsCarouselList = new ArrayList<>();

    public GoodsDetail(int goodsId, String goodsName, String goodsIntro,
                       String goodsCoverImg, double originalPrice,
                       double sellingPrice, String tag,
                       String goodsDetailContent, List<String> goodsCarouselList) {
        this.goodsId = goodsId;
        this.goodsName = goodsName;
        this.goodsIntro = goodsIntro;
        this.goodsCoverImg = goodsCoverImg;
        this.originalPrice = originalPrice;
        this.sellingPrice = sellingPrice;
        this.tag = tag;
        this.goodsDetailContent = goodsDetailContent;
        this.goodsCarouselList = goodsCarouselList;
    }

    // Getters
    public int getGoodsId() { return goodsId; }
    public String getGoodsName() { return goodsName; }
    public String getGoodsIntro() { return goodsIntro; }
    public String getGoodsCoverImg() { return goodsCoverImg; }
    public double getOriginalPrice() { return originalPrice; }
    public double getSellingPrice() { return sellingPrice; }
    public String getTag() { return tag; }
    public String getGoodsDetailContent() { return goodsDetailContent; }
    public List<String> getGoodsCarouselList() { return goodsCarouselList; }
}
